#pragma once

class CEXErunCtrl
{
public:
	CEXErunCtrl(void);
	~CEXErunCtrl(void);

public:
	void Run();

private:
	void Launch_HalService();
	void Launch_HalStreamService();
	void Launch_OSDService();
	void Launch_BTService();
	void Launch_DVDService();
	void Launch_IpodService();
	void Launch_MediaService();
	void Launch_NaviService();

	void Init();
	bool IsDbgSdFile() { return isDbgSdFile_; }
	CString FindExePath(CString strPath);
	CString FindDirPath(CString dirPath,CString filePath);


	DWORD TurnOnExe(LPCTSTR strExePath, LPCTSTR CmdLine);

private:
	bool isDbgSdFile_;
};
